#include<stdio.h>
int main(){

	/* members declarations */

	double price;
	double distance;
	double car_efficiency;
	double cost;

	/* get data from user */

	printf("Enter fuel price (shekels per liter)\n");
	scanf("%lf", &price);
	printf("Enter the distance (km)\n");
	scanf("%lf", &distance);
	printf("Enter the car efficiency (km per liter)\n");
	scanf("%lf", &car_efficiency);

	/* compute data */
   
	cost = (distance / car_efficiency) * price;

	/* print data to user */

	printf("Total cost of the fuel will be %.2lf\n", cost);

	return 0;

}
